]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
3 months agoextensionSystem: Clarify what the extension disable function does
Marco Trevisan (Treviño) [Tue, 30 Jun 2026 19:32:12 +0000 (21:32 +0200)]
extensionSystem: Clarify what the extension disable function does

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4276>
(cherry picked from commit f10dcaac409ea87c1577e7df4fccdf16a3768597)

3 months agoworkspaceAnimation: Don't exclude minimized windows
Florian Müllner [Tue, 28 Apr 2026 11:49:58 +0000 (13:49 +0200)]
workspaceAnimation: Don't exclude minimized windows

We may be switching workspaces because we are focusing a window
that is located on a different workspace.

In case that new focus window was minimized, it currently just pops
up out of nowhere after the animation, as we are only tracking windows
that are visible at the beginning of the transition.

To fix this, don't exclude minimized windows from tracking, but hide
them until they are unminimized.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4199>
(cherry picked from commit 620efa31cd2669ef22e6dc24f2a5dca70918ff57)

3 months agoworkspaceAnimation: Sort existing records when restacking
Florian Müllner [Tue, 28 Apr 2026 12:25:44 +0000 (14:25 +0200)]
workspaceAnimation: Sort existing records when restacking

When restacking, we currently re-filter window actors, then match
each to the corresponding record.

Instead, sort the existing records according to the new stacking,
then iterate over those directly.

This reflects more directly that window records are fixed during
the transition, and avoids a (harmless) warning in case a window
only appeared during the animation and therefore cannot be
matched to a record.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/8881
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4199>
(cherry picked from commit e7e6de300cfb87c0f91738861b545017e5290ef9)

3 months agoextensions-tool: Mark flag enum as flag
Florian Müllner [Sat, 25 Apr 2026 19:37:29 +0000 (21:37 +0200)]
extensions-tool: Mark flag enum as flag

Spotted by gobject-linter: use_g_gnuc_flag_enum

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4193>
(cherry picked from commit 7ac000acffe5f030f31fa3dfed9a7fe608c40f36)

3 months agoextensions-tool: Use g_strcmp0() for NULL-safety
Florian Müllner [Sat, 25 Apr 2026 01:22:03 +0000 (03:22 +0200)]
extensions-tool: Use g_strcmp0() for NULL-safety

While the argument cannot actually be NULL here (check in caller),
this isn't easily detected by tooling.

Spotted by gobject-linter: use_g_strcmp0

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4193>
(cherry picked from commit cc9735f968df2e0048869813d95e6a108cc6814b)

3 months agoextensions-tool: Use g_string_free_and_steal() where appropriate
Florian Müllner [Sat, 25 Apr 2026 01:21:12 +0000 (03:21 +0200)]
extensions-tool: Use g_string_free_and_steal() where appropriate

It has clearer semantics than `g_string_free (..., FALSE)`.

Spotted by gobject-linter: use_g_string_free_and_steal

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4193>
(cherry picked from commit 9edfd22b968b729d92f2098349f803b4c1c23715)

3 months agoextensions-tool: Use consistent include order
Florian Müllner [Sat, 25 Apr 2026 01:18:39 +0000 (03:18 +0200)]
extensions-tool: Use consistent include order

Spotted by gobject-linter: include_order

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4193>
(cherry picked from commit 653be4a9d308f99fc9ceb6a07ef020432678132e)

3 months agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 26 Jul 2026 06:26:31 +0000 (06:26 +0000)]
Update Kazakh translation

4 months agopadOsd: Fix menu animations
Florian Müllner [Fri, 29 May 2026 15:30:32 +0000 (17:30 +0200)]
padOsd: Fix menu animations

Like outlined in the previous commit, `true` is interpreted as
`PopupAnimation.SLIDE`, while we want the full animation with
both slide and fade here.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4237>

4 months agokeyboard: Fix menu animation
Florian Müllner [Fri, 29 May 2026 15:15:26 +0000 (17:15 +0200)]
keyboard: Fix menu animation

PopupMenu.open() takes a PopupAnimation flag, not a boolean. Due
to implicit type conversion, we are currently effectively passing
`PopupAnimation.SLIDE`, so we miss the fade part of the animation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4237>

4 months agoBump version to 50.3
Florian Müllner [Mon, 29 Jun 2026 18:35:06 +0000 (20:35 +0200)]
Bump version to 50.3

Update NEWS.

4 months agost/theme-node: Correct StTextAlign docs
Florian Müllner [Wed, 29 Apr 2026 18:51:42 +0000 (20:51 +0200)]
st/theme-node: Correct StTextAlign docs

LEFT/RIGHT always align to the left/right. Those only correspond
to the beginning/end for LTR locales, in RTL they are swapped.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4204>
(cherry picked from commit 26d1056a9afbfcbe50e18f62cd3fcb7b7f87da74)

4 months agostyle: Give notifications on lock screen the same width as in session
Florian Müllner [Mon, 11 May 2026 13:16:16 +0000 (15:16 +0200)]
style: Give notifications on lock screen the same width as in session

There is no strong reason to use the same width as user list and prompt
for notifications, in particular as the smaller width can make the
notification's content appear more cramped.

Instead, give notifications the same width as the message list in
the session. Especially where we reuse the same component — namely
media messages — this ensures consistent presentation.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9218
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4217>
(cherry picked from commit 6b52520d9d0c3e8d918dd87bb2a04dc3122755a5)

4 months agoshell/app: Plug GTask leak
Alessandro Bono [Fri, 19 Jun 2026 10:43:31 +0000 (12:43 +0200)]
shell/app: Plug GTask leak

The shell_app_activate_action() function gives ownership of the task
to activate_action_get_bus_cb(), which then transfers it to
on_activate_action_cb().

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4258>
(cherry picked from commit 8e7c0290ef7b0846bf4953217b0e2241d1259811)

4 months agoshell/app: Format fix
Alessandro Bono [Fri, 19 Jun 2026 10:52:32 +0000 (12:52 +0200)]
shell/app: Format fix

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4258>
(cherry picked from commit 26eb4f723554f8f4e498b5c4bd53762d2bf6c221)

4 months agobackground: Handle promise rejection from _loadFile()
Alessandro Bono [Tue, 16 Jun 2026 08:47:10 +0000 (10:47 +0200)]
background: Handle promise rejection from _loadFile()

This suppresses the following:
```
(gnome-shell:11243): Gjs-WARNING **: 19:15:39.498: Unhandled promise rejection. To suppress
this warning, add an error handler to your promise chain with .catch() or a try-catch block
around your await expression. Stack trace of the failed promise:
_loadFile@resource:///org/gnome/shell/ui/background.js:501:20
_load@resource:///org/gnome/shell/ui/background.js:531:14
_init@resource:///org/gnome/shell/ui/background.js:288:14
Background@resource:///org/gnome/shell/ui/background.js:244:4
getBackground@resource:///org/gnome/shell/ui/background.js:635:30
_createBackgroundActor@resource:///org/gnome/shell/ui/background.js:807:49
_updateBackgroundActor@resource:///org/gnome/shell/ui/background.js:779:39
_createBackgroundActor/changeSignalId<@resource:///org/gnome/shell/ui/background.js:835:18
_emitChangedSignal/this._changedIdleId<@resource:///org/gnome/shell/ui/background.js:321:18
@resource:///org/gnome/shell/ui/init.js:21:20
```

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4253>
(cherry picked from commit 1a9df2b07371116c25bf0751767377df75cbaf6c)

4 months agoappDisplay: Clip the icon+label to allocation when expanding
Daniel van Vugt [Tue, 9 Jun 2026 07:44:39 +0000 (15:44 +0800)]
appDisplay: Clip the icon+label to allocation when expanding

It's hard to see at regular speed, but if you slow down the animation
then it becomes apparent the label was appearing outside the tile during
expansion. This keeps it clipped inside the expanding tile.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4247>
(cherry picked from commit 60ec1fae0d581490f2a82cb60499731977bbdfff)

4 months agoappDisplay: Animate whole icon tile when expanding label
Daniel van Vugt [Fri, 5 Jun 2026 08:43:45 +0000 (16:43 +0800)]
appDisplay: Animate whole icon tile when expanding label

This gives a smoother whole-tile expand animation, while retaining the
old ellipsize-and-shift-up collapse animation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4247>
(cherry picked from commit 32171c0be245829746755987816a89b7de472486)

4 months agoworkspace: Avoid redundant boundingBox copies in window layout
Andre Nijman [Mon, 8 Jun 2026 05:45:01 +0000 (13:45 +0800)]
workspace: Avoid redundant boundingBox copies in window layout

WorkspaceLayout's allocation reads child.boundingBox four times for each
window on every frame of an overview transition. The getter returns a
fresh copy of the cached box on every access, so this is four throwaway
objects per window per frame feeding the garbage collector.

Read the box into a local once and use that. The values are identical;
only the per-frame allocations go away.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4250>
(cherry picked from commit d4b5bc781535104475fba490fccfb0dd7934c96f)

4 months agosearch: Announce search result description to screen readers
Lukáš Tyrychtr [Mon, 8 Jun 2026 13:50:36 +0000 (15:50 +0200)]
search: Announce search result description to screen readers

Add a described by relation to the search button so the description is read
when the button gets focus.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4251>
(cherry picked from commit a6bb705d7abb1e867b117e66a03dba6c8ba8cb45)

4 months agoworkspaceAnimation: Block workspace updates during switch
Tony Chen [Tue, 2 Jun 2026 20:30:18 +0000 (16:30 -0400)]
workspaceAnimation: Block workspace updates during switch

WorkspaceAnimation uses a fixed set of workspace indices to transition
between for each gesture/animation.

That means that if workspaces change during the animation, the mapping
from workspace adjustment value to the animation progress can involve
invalid indices and the animation ends on the wrong workspace.

To fix this, block workspace updates during the animation.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8148

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4014>
(cherry picked from commit eaa4e0577a08c3ed38b5f512b4af0b88ede7f1f5)

4 months agowindowManager: Expose WorkspaceTracker blockUpdates & unblockUpdates
Tony Chen [Tue, 2 Jun 2026 20:16:49 +0000 (16:16 -0400)]
windowManager: Expose WorkspaceTracker blockUpdates & unblockUpdates

Update blocking is currently only used by the workspace switcher popup,
but the workspace animation needs to do the same.

To prepare for that, expose block workspace updates on WindowManager
to make it available outside the module.

Use a counter to track block/unblock calls and avoid contention over the
_pauseWorkspaceCheck boolean inside WorkspaceTracker.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4014>
(cherry picked from commit 217b1502057a78b13a3a5dd73a8b202e81aec127)

4 months agoshell/app: Cleanup journalfd with g_autofd instead of close()
Swagtoy [Mon, 1 Jun 2026 19:24:01 +0000 (15:24 -0400)]
shell/app: Cleanup journalfd with g_autofd instead of close()

Signed-off-by: Swagtoy <me@ow.swag.toys>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4233>
(cherry picked from commit e57c64620ea7d1b6f208a3ba53b0fcaebf764876)

4 months agoUpdate Polish translation
Victoria Niedzielska [Tue, 23 Jun 2026 16:07:33 +0000 (16:07 +0000)]
Update Polish translation

4 months agoUpdate Belarusian translation
Vasil Pupkin [Sun, 21 Jun 2026 16:30:15 +0000 (16:30 +0000)]
Update Belarusian translation

5 months agoUpdate Chinese (China) translation
luming zh [Mon, 8 Jun 2026 02:20:10 +0000 (02:20 +0000)]
Update Chinese (China) translation

5 months agoBump version to 50.2
Florian Müllner [Tue, 26 May 2026 16:07:46 +0000 (18:07 +0200)]
Bump version to 50.2

Update NEWS.

5 months agostatus/volume: Show input only if stream is running
Herman Fries [Thu, 14 May 2026 13:09:40 +0000 (15:09 +0200)]
status/volume: Show input only if stream is running

Input indicator should only show if a stream is in running state,
ignoring passive streams such as echo-cancellation or denoise filters.

The stream-changed listener is required as streams might transition
between idle and running states.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/7217

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4218>

5 months agologinDialog: Open session/a11y menu on either button
Florian Müllner [Mon, 25 May 2026 19:53:19 +0000 (21:53 +0200)]
loginDialog: Open session/a11y menu on either button

Users can choose whether the left or right mouse button acts
as the primary one, however that setting isn't carried over
to the login screen.

As the secondary button is unused in that context anyway, most
elements already accept either button. Do the same for the two
remaining elements.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9243
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4225>
(cherry picked from commit 8f80504eca99e4191fbc5561abe65429e80a7d26)

5 months agoUpdate Cornish translation
Flynn Peck [Mon, 18 May 2026 11:13:51 +0000 (11:13 +0000)]
Update Cornish translation

5 months agobuild: Update libgnome-volume-control revision
Florian Müllner [Fri, 15 May 2026 22:19:50 +0000 (00:19 +0200)]
build: Update libgnome-volume-control revision

The new revision correctly sets the state of source streams as well,
instead of just sink streams.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/7217
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4220>

5 months agoauthPrompt: Await wiggle via show-message promise resolver
Joan Torres Lopez [Tue, 5 May 2026 15:28:18 +0000 (17:28 +0200)]
authPrompt: Await wiggle via show-message promise resolver

Pass promise resolver through the show-message signal so the
message queue waits for the wiggle animation to finish before scheduling
the next message timeout. This replaces the previous approach of manually
increasing the timeout duration to account for the wiggle.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4209>

5 months agoauthPrompt: Call wiggle directly in _onShowMessage
Joan Torres Lopez [Tue, 5 May 2026 19:32:06 +0000 (21:32 +0200)]
authPrompt: Call wiggle directly in _onShowMessage

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4209>

5 months agoanimationUtils: Skip no-op wiggle to avoid cancelling pending transitions
Joan Torres Lopez [Tue, 5 May 2026 15:26:27 +0000 (17:26 +0200)]
animationUtils: Skip no-op wiggle to avoid cancelling pending transitions

When wiggle() is called with duration 0, the async easeAsync calls
yield between microtasks, leaving pending operations that remove
transitions on the same property. This becomes a problem when two
setMessage() calls happen in the same call stack (e.g. via
_queuePriorityMessage): the first fires a no-op wiggle(dur:0) and
the second starts the real wiggle(dur:65). When microtasks drain,
the first wiggle's pending easeAsync calls overwrite the second
wiggle's active transition, effectively cancelling the real animation.

Return early when duration is 0, since the animation is a no-op anyway.

Fixes: fdadbb7a5a2 ("animationUtils: Use easeAsync() for wiggle")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9207
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4209>

5 months agoUpdate Belarusian translation
Vasil Pupkin [Thu, 14 May 2026 17:17:05 +0000 (17:17 +0000)]
Update Belarusian translation

5 months agoUpdate Cornish translation
Flynn Peck [Tue, 12 May 2026 10:58:24 +0000 (10:58 +0000)]
Update Cornish translation

5 months agoUpdate Cornish translation
Flynn Peck [Mon, 11 May 2026 21:00:47 +0000 (21:00 +0000)]
Update Cornish translation

6 months agoAdjust for goblint → gobject-linter name change
Florian Müllner [Tue, 5 May 2026 16:32:00 +0000 (18:32 +0200)]
Adjust for goblint → gobject-linter name change

The project was renamed to avoid a name clash with an existing
project; update the config file to the new name.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4210>

6 months agoUpdate Norwegian Nynorsk translation
Bjørn Mørkedal [Wed, 6 May 2026 10:02:07 +0000 (10:02 +0000)]
Update Norwegian Nynorsk translation

6 months agoUpdate Chinese (China) translation
luming zh [Tue, 5 May 2026 09:51:07 +0000 (09:51 +0000)]
Update Chinese (China) translation

6 months agoAdd goblint configuration
Florian Müllner [Tue, 28 Apr 2026 10:25:15 +0000 (12:25 +0200)]
Add goblint configuration

When discussing goblint on Matrix, there were some concerns
around its rules for defining properties:

 - having to explicitly track the last property ID, instead
   of including N_PROPS in the anonymous enum

 - including read-only properties in set() and write-only in get()
   adds unreachable code, which is bad for code coverage

Those were considered more important than the benefit of checking
get()/set() with `-Wswitch-enum`, so at least for now stick with
the existing property conventions.

Add a configuration that enables "legacy" style for the corresponding
rules.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4198>

6 months agokeyboardManager: Use layout id when reapplying
Sebastian Keller [Thu, 30 Apr 2026 01:44:57 +0000 (03:44 +0200)]
keyboardManager: Use layout id when reapplying

`_doApply()` expects the id rather than the layout info itself. Passing
the layout info caused the lookup to fail and the function to exit
early. This was preventing `xkb-option` or `xkb-model` settings from
applying when changed.

Fixes: 0f9034687 ("status/keyboard: Adapt to external source of keyboard layout")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9197
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4205>

6 months agoUpdate Slovak translation
Jose Riha [Thu, 30 Apr 2026 07:40:41 +0000 (07:40 +0000)]
Update Slovak translation

6 months agoUpdate Slovak translation
Jose Riha [Wed, 29 Apr 2026 16:57:36 +0000 (16:57 +0000)]
Update Slovak translation

6 months agoIgnore pycache and wraplock
Liam Rust [Wed, 29 Apr 2026 07:25:48 +0000 (03:25 -0400)]
Ignore pycache and wraplock

Running tests and builds will sometimes create either a Python
`__pycache__` directory or a Meson `.wraplock` file. Probably a good
idea to ignore those so they never get included upstream.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4201>

6 months agoAdd Lao translation
Saikeo Kavhanxay [Tue, 28 Apr 2026 15:05:50 +0000 (15:05 +0000)]
Add Lao translation

6 months agomessageTray: Don't try to focus destroyed actor
Sebastian Keller [Mon, 27 Apr 2026 20:53:59 +0000 (22:53 +0200)]
messageTray: Don't try to focus destroyed actor

When `ungrabFocus()` is called after hiding a notification, the previous
focus actor might have already been destroyed and trying to focus it
will trigger a gjs error.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9190
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4197>

6 months agoUpdate Slovak translation
Jose Riha [Mon, 27 Apr 2026 11:11:13 +0000 (11:11 +0000)]
Update Slovak translation

6 months agoshell/app: Be extra careful when applying GPU environment
Florian Müllner [Fri, 24 Apr 2026 22:19:36 +0000 (00:19 +0200)]
shell/app: Be extra careful when applying GPU environment

We get the environment from SwitcherooControl as an array of
key-value pairs. When applying it, we loop over the array in pairs,
assuming that every key has a value.

While this is the expected format, it does not hurt to be defensive
against possible bugs in the service, so explicitly check that both
key and value are non-NULL before applying them.

Spotted by papagai.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4194>

6 months agoendSessionDialog: Recognize scheduled updates in the Power Off dialog
Milan Crha [Wed, 22 Apr 2026 15:04:28 +0000 (17:04 +0200)]
endSessionDialog: Recognize scheduled updates in the Power Off dialog

The Power Off dialog should show a checkbox to install (or not) a scheduled
update, but I missed it in my previous https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4185

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4188>

6 months agoanimation: Prevent spinner animation from resetting
Vicente Bertolotti [Sat, 25 Apr 2026 01:26:28 +0000 (21:26 -0400)]
animation: Prevent spinner animation from resetting

Currently, the search status spinner animation restarts on every
single keystroke while a search is in progress. This occurs because
redundant calls to `play()` replace the previous content and restart
the animation from the beginning.

This commit fixes this by ignoring redundant `play()` and `stop()` calls.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8695

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4191>

6 months agoUpdate Slovak translation
Jose Riha [Thu, 23 Apr 2026 20:06:58 +0000 (20:06 +0000)]
Update Slovak translation

6 months agoglobal: Stop using clutter_get_default_backend
Bilal Elmoussaoui [Mon, 16 Mar 2026 21:31:16 +0000 (22:31 +0100)]
global: Stop using clutter_get_default_backend

Adapt to change proposed at https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4981

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4135>

6 months agoautorunManager: Connect to the correct notification signal
Sebastian Keller [Tue, 21 Apr 2026 11:59:51 +0000 (13:59 +0200)]
autorunManager: Connect to the correct notification signal

The signal is called `activated`. This was triggering an error and
preventing the notification from showing up when connecting an USB
drive with autorun enabled.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4187>

6 months agoautorunManager: Catch and log errors from mount-added handler
Sebastian Keller [Tue, 21 Apr 2026 11:58:38 +0000 (13:58 +0200)]
autorunManager: Catch and log errors from mount-added handler

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/9183
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4187>

6 months agoendSessionDialog: Prepare updates also in the "Restart & Install" dialog
Milan Crha [Mon, 20 Apr 2026 10:22:48 +0000 (12:22 +0200)]
endSessionDialog: Prepare updates also in the "Restart & Install" dialog

The current code expects a checkbox to confirm update installation to be
present, but when the updates are already scheduled, it did not confirm
the actual user action for the update, aka to reboot the machine, instead
of using the previously set update action, which could be Power Off.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4185>

6 months agoendSessionDialog: Differentiate between prepared and scheduled updates again
Milan Crha [Tue, 21 Apr 2026 15:38:10 +0000 (17:38 +0200)]
endSessionDialog: Differentiate between prepared and scheduled updates again

The prepared updates are those downloaded, while the scheduled updates
are those ready to be installed the next machine boot. The previous
gnome-software change with its OfflineUpdates D-Bus interface did not
count with it and claimed all the updates as scheduled, even when they
had been only prepared. This makes it work again by utilizing the
gnome-software changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4185>

6 months agoUpdate Dutch translation
Nathan Follens [Sun, 19 Apr 2026 17:28:22 +0000 (17:28 +0000)]
Update Dutch translation

6 months agoscreencastService: Add rate control to VA-API H.264 pipelines
Mikhail Gavrilov [Sun, 12 Apr 2026 13:14:01 +0000 (18:14 +0500)]
screencastService: Add rate control to VA-API H.264 pipelines

The vah264enc and vah264lpenc pipelines do not specify any rate control
parameters, causing the encoder to use its default bitrate. At 4K this
results in ~12 Mbit/s recordings — roughly 18x larger than the VP8
software fallback (~630 kbit/s) with no visible quality benefit for
typical screencast content.

All other pipelines in the PIPELINES array constrain quality explicitly:
openh264enc uses qp-max=26/qp-min=26, vp8enc uses max-quantizer=17 and
buffer-size=20000. Only the two VA-API pipelines are left unconstrained.

Add rate-control=vbr bitrate=2048 target-percentage=50 to both VA-API
pipelines. This produces ~1 Mbit/s average / 2 Mbit/s peak, which is
comparable to what the other encoders produce and works across both AMD
(which lacks CQP) and Intel VA-API implementations.

Before (4K, 5s recording): 11688 kb/s, 7.2 MB
After  (4K, 5s recording):  2472 kb/s, 1.6 MB

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/9165
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4171>

6 months agodash: Use connectObject to track signal connection to global objects
Marco Trevisan (Treviño) [Wed, 15 Apr 2026 21:24:25 +0000 (23:24 +0200)]
dash: Use connectObject to track signal connection to global objects

While the dash is never destroyed in vanilla gnome shell, various
extensions (such as dash-to-dock) are using this code, potentially for
every monitor.

And so we should make sure that the signals are disconnected when the
actor is destroyed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4180>

6 months agoappFavorites: Move installed-changed where it belongs
Marco Trevisan (Treviño) [Wed, 15 Apr 2026 21:09:00 +0000 (23:09 +0200)]
appFavorites: Move installed-changed where it belongs

In the dash we are monitoring the installed applications and reload the
favorites, while this is not something that is related to the dash per
se, and if the AppFavorites is used to track the favorites elsewhere it
would not be updated when new favorite apps are installed.

So move the logic to AppFavorites, that will now emit a changed
event whenever any favorite changed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4180>

6 months agoappFavorites: Only emit :changed signal on changes
Marco Trevisan (Treviño) [Thu, 16 Apr 2026 02:33:45 +0000 (04:33 +0200)]
appFavorites: Only emit :changed signal on changes

We were emitting the :changed signal on every setting or app-filter
change even though the actual favorites list might not have changed.

So now every time it's relevant, check if something is changed before
emitting the :changed signal.

We do a deep check of the app IDs as potentially an app could have
been removed while another is being installed during the same update
window, and the length of the IDs list wouldn't change.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4180>

6 months agodash: Don't notify two elements for each icon
Sergio Costas Rodriguez [Thu, 16 Apr 2026 11:41:47 +0000 (13:41 +0200)]
dash: Don't notify two elements for each icon

When the user uses a screen reader and navigates through the
dash, each element is notified as two: one panel with no label,
and then a button with the application name as the label.

This is because each icon has the BUTTON role, but is inside a
container with the PANEL role, so each time the focus changes
from an icon to the next, there is a change in the container,
so the screen reader notifies this. But that container is
useless for the screen reader. The container always read its
label because the label_actor property is set.

This patch fixes this.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4182>

6 months agoUpdate Norwegian Bokmål translation
Kjartan Maraas [Fri, 17 Apr 2026 07:33:04 +0000 (07:33 +0000)]
Update Norwegian Bokmål translation

6 months agoci: Bump mutter image
Florian Müllner [Thu, 16 Apr 2026 21:27:54 +0000 (23:27 +0200)]
ci: Bump mutter image

Pulls in a umockdev update that hopefully should make tests less flaky.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4184>

6 months agompris: Do not send player-removed for a player that has never been added
Marco Trevisan (Treviño) [Thu, 16 Apr 2026 16:38:22 +0000 (18:38 +0200)]
mpris: Do not send player-removed for a player that has never been added

We only emit player-added for players that can play, but we remove them
all, despite this state.

This causes a non-fatal warning during the removal of a non-existent
notification (that is in fact an undefined message)

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/8284
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4183>

6 months agompris: Only expose the players that can play
Marco Trevisan (Treviño) [Thu, 16 Apr 2026 16:35:57 +0000 (18:35 +0200)]
mpris: Only expose the players that can play

In mpris we only emit "player-added" for players that can actually play,
but during NotificationBox and MessageList initialization we add them all,
including those not having being technically added.

And this may be a problem when locking the screen, since we do not want
players to show if they cannot play.

So, be consistent and expose publicly only the players that can play

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4183>

6 months agoFollowup to previous commit
Andre Klapper [Thu, 16 Apr 2026 05:29:24 +0000 (07:29 +0200)]
Followup to previous commit

6 months agoRevert wrong German translations
Andre Klapper [Thu, 16 Apr 2026 05:24:48 +0000 (07:24 +0200)]
Revert wrong German translations

See https://gitlab.gnome.org/Teams/Translation/de/-/issues/88

Introduced in e83286fc

6 months agodash: Disconnect overview signals on destroy
fthx [Mon, 16 Feb 2026 09:41:58 +0000 (09:41 +0000)]
dash: Disconnect overview signals on destroy

While we never destroy the dash ourselves, extensions that replace it
might, so better disconnect the signals properly instead of leaking
the handlers in that case.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4077>

6 months agoscreenshot: Snap cursor to the center of the handle on press
Ramez Medhat [Sat, 28 Mar 2026 15:14:15 +0000 (17:14 +0200)]
screenshot: Snap cursor to the center of the handle on press

When dragging the screenshot area handle from the outer sides, it is
currently impossible to move them to the edges or corners of the screen,
as the cursor is constrained to the monitor.

Fix this by snapping the cursor to the center of the handle when starting
the resize operation.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/9113
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4158>

6 months agoInstall all properties at once
Bilal Elmoussaoui [Tue, 14 Apr 2026 19:31:26 +0000 (21:31 +0200)]
Install all properties at once

As we already use a static array of GParamSpecs, so continue using that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agost/button: Prefer notify_by_pspec where possible
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:49:07 +0000 (19:49 +0200)]
st/button: Prefer notify_by_pspec where possible

Avoids the property by name lookup

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoPrefer g_steal_pointer where possible
Bilal Elmoussaoui [Wed, 15 Apr 2026 07:37:00 +0000 (09:37 +0200)]
Prefer g_steal_pointer where possible

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoPrefer g_string_free_and_steal instead of g_string_free
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:43:21 +0000 (19:43 +0200)]
Prefer g_string_free_and_steal instead of g_string_free

As that makes semantics clearer

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoPrefer using g_clear_handle_id
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:42:04 +0000 (19:42 +0200)]
Prefer using g_clear_handle_id

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoAlways initialize GError as NULL
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:41:16 +0000 (19:41 +0200)]
Always initialize GError as NULL

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agocroco: Remove unnecessary NULL checks
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:39:48 +0000 (19:39 +0200)]
croco: Remove unnecessary NULL checks

As g_free is NULL safe anyways

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoUse g_clear_list macros
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:37:51 +0000 (19:37 +0200)]
Use g_clear_list macros

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agocroco: Prefer using g_clear_* macros
Bilal Elmoussaoui [Wed, 15 Apr 2026 07:31:20 +0000 (09:31 +0200)]
croco: Prefer using g_clear_* macros

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoAdd G_PARAM_STATIC_NAME to all properties
Bilal Elmoussaoui [Wed, 15 Apr 2026 07:30:17 +0000 (09:30 +0200)]
Add G_PARAM_STATIC_NAME to all properties

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoPrefer using G_SOURCE_* constants instead of TRUE/FALSE
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:30:23 +0000 (19:30 +0200)]
Prefer using G_SOURCE_* constants instead of TRUE/FALSE

Makes the semantics clearer.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agost/image-content: Chain-up constructed
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:29:01 +0000 (19:29 +0200)]
st/image-content: Chain-up constructed

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agocroco: Remove functions declarations only
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:27:29 +0000 (19:27 +0200)]
croco: Remove functions declarations only

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoAlways set a source tag on GTasks
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:26:10 +0000 (19:26 +0200)]
Always set a source tag on GTasks

Helps with debugging/profiling.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agokeyring/prompt: Use g_value_set_static_string
Bilal Elmoussaoui [Tue, 14 Apr 2026 17:25:11 +0000 (19:25 +0200)]
keyring/prompt: Use g_value_set_static_string

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

6 months agoBump version to 50.1
Florian Müllner [Tue, 14 Apr 2026 13:42:49 +0000 (15:42 +0200)]
Bump version to 50.1

Update NEWS.

6 months agoappDisplay: Go to item page for items dropped on page indicators
Mohamed Abdulla [Wed, 25 Mar 2026 18:42:33 +0000 (21:42 +0300)]
appDisplay: Go to item page for items dropped on page indicators

The page could be full so the item is dropped on the page after it instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4153>

6 months agoiconGrid: Exclude Lower Out of Bound in IconGridLayout getDropTarget()
Mohamed Abdulla [Mon, 23 Mar 2026 20:57:22 +0000 (23:57 +0300)]
iconGrid: Exclude Lower Out of Bound in IconGridLayout getDropTarget()

Exclude negative page values as well. They are possible in case of
dropping on the left-side of an app folder.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7700
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4153>

6 months agosignalTracker: Add debug function to get all signal trackers
Sebastian Keller [Sat, 11 Apr 2026 13:43:05 +0000 (15:43 +0200)]
signalTracker: Add debug function to get all signal trackers

Signal trackers have been the source of difficult to identify leaks in
the past. Having access to the list of all active signal trackers at run
time without having to modify and rebuild gnome-shell can be very
valuable in identifying the source of these leaks, especially since the
steps required to trigger a leak might not always be obvious.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6423
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4169>

6 months agoenvironment: Disconnect from transitions when stopped
Sebastian Keller [Sat, 11 Apr 2026 13:02:12 +0000 (15:02 +0200)]
environment: Disconnect from transitions when stopped

Transitions don't emit a 'destroy' signal which would be used by the
SignalTracker to automatically clean up, leading to all transitions
being leaked until session shutdown.

Avoid this by manually disconnecting them when stopped.

Fixes: 240aa910d ("environment: Ignore animation events after shutdown")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4168>

6 months agostatus/keyboard: Send activation token when launching Tecla
Sebastian Keller [Fri, 10 Apr 2026 20:26:53 +0000 (22:26 +0200)]
status/keyboard: Send activation token when launching Tecla

This ensures the window will be correctly focused, even when using
strict focus mode.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4165>

6 months agoUpdate Slovak translation
Jose Riha [Fri, 10 Apr 2026 11:49:05 +0000 (11:49 +0000)]
Update Slovak translation

6 months agoportalHelper: Add basic zoom support
Florian Müllner [Tue, 31 Mar 2026 16:21:58 +0000 (18:21 +0200)]
portalHelper: Add basic zoom support

A portal login page may have poor readability that require page zoom
functionality as implemented by most browsers.

However WebView does not provide this functionality itself, it only
exposes API that allows implementing it.

Add basic zoom in/out/reset actions based on epiphany's implementation,
and hook them up to accels.

Exposing them more prominently (as buttons or in a menu) would require
some UI rework, so leave that for a later.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/9129
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4159>

6 months agoportalHelper: Set up accels from app
Florian Müllner [Tue, 31 Mar 2026 19:39:05 +0000 (21:39 +0200)]
portalHelper: Set up accels from app

Setting up accels is an app action, so doing it from the app is
a more natural place than repeating it for each window (even if
the common case is a single window for the entire process lifetime).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4159>

7 months agosessionMode: Enable the networkAgent within the unlock-dialog
Mitchell Augustin [Mon, 6 Apr 2026 22:05:58 +0000 (17:05 -0500)]
sessionMode: Enable the networkAgent within the unlock-dialog

This ensures that selecting a password-protected
Wi-Fi network in quicksettings behaves the same
on both the initial gdm screen (before any user
has logged in, as enabled already in 4440a8210b456923678facd434ef8a23d48f63b6)
and when the screen has been locked by an already logged-in user.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4160>

7 months agoRemove functions with declaration-only
Bilal Elmoussaoui [Wed, 8 Apr 2026 12:06:37 +0000 (14:06 +0200)]
Remove functions with declaration-only

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4162>

7 months agotests: Don't check value before calling g_free
Bilal Elmoussaoui [Wed, 8 Apr 2026 12:02:44 +0000 (14:02 +0200)]
tests: Don't check value before calling g_free

It is NULL safe anyways.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4162>

7 months agoUse g_set_str where possible
Bilal Elmoussaoui [Wed, 8 Apr 2026 12:00:03 +0000 (14:00 +0200)]
Use g_set_str where possible

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4162>

7 months agoPrefer using g_clear_object/g_clear_pointer macro where possible
Bilal Elmoussaoui [Wed, 8 Apr 2026 11:53:04 +0000 (13:53 +0200)]
Prefer using g_clear_object/g_clear_pointer macro where possible

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4162>